<?php

/**
 * @Project NUKEVIET 3.3
 * @Author VINADES.,JSC (contact@vinades.vn)
 * @Copyright (C) 2010 - 2011 VINADES.,JSC. All rights reserved
 * @Createdate Sat, 10 Dec 2011 06:46:54 GMT
 */

if(!defined('NV_IS_FILE_ADMIN'))die('Stop!!!');$sql="SELECT * FROM `".NV_PREFIXLANG."_".$module_d."_cat` ORDER BY `order` ASC";$result=$db->sql_query($sql);While($row=$db->sql_fetchrow($result)){$t_sp="";if($row['parentid']>0){$t_sp.='&nbsp;&nbsp;&nbsp;';for($i=1;$i<=$row['parentid'];++$i){$t_sp.='&nbsp;';}}$arr_cat[$row['catid']]=array('module'=>$module,'key'=>$row['catid'],'title'=>$t_sp.$row['title'],'alias'=>$row['alias'],);}

?>